//
//  NSString+string.h
//  HA
//
//  Created by sy on 2023/12/17.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (string)

/** 判断字符串是否为空 */
+(BOOL)isEmptyString:(NSString *)string;

//将时间戳转化成时间
+(NSString *)timeStampToString:(NSInteger)timestamp Formatter:(NSString *)format;

//删除小数点后面多余的0
+(NSString *)changeFloat:(NSString *)stringFloat;

//获取当前时间  YYYY-MM-dd HH:mm:ss
+(NSString*)currentTimeWith:(NSString *)format;

@end

NS_ASSUME_NONNULL_END
